package com.artisan.service.wx.impl;

import com.artisan.dao.CustomerCodeMapper;
import com.artisan.dao.CustomerMapper;
import com.artisan.dao.CustomerMessageMapper;
import com.artisan.medium.wx.service.WxMessageService;
import com.artisan.medium.wx.service.WxUserService;
import com.artisan.model.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Calendar;
import java.util.List;

/**
 * Created by yang on 2017/6/18.
 */
@Service("wxMessageService")
public class WxMessageServiceImpl implements WxMessageService {
    @Autowired
    private CustomerMessageMapper  customerMessageMapper;


    @Override
    public int addMessage(CustomerMessage message) {
        return customerMessageMapper.insert(message);
    }
}
